package xyz.bali16.module.article.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.bind.annotation.RequestParam;
import xyz.bali16.application.model.PageParam;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("文章分页查询参数")
public class ArticlePageParam extends PageParam {

    @ApiModelProperty(name = "userId", value = "用户Id", required = false)
    private String userId;
    @ApiModelProperty(name = "searchText", value = "查询内容", required = false)
    private String searchText;
    @ApiModelProperty(name = "sortName", value = "排序内容", required = false)
    private String sortName;
    @ApiModelProperty(name = "sortOrder", value = "排序顺序", required = false)
    private Integer sortOrder;
    @ApiModelProperty(name = "status", value = "文章状态", required = false)
    private Integer status;
    @ApiModelProperty(name = "url", value = "url链接", required = false)
    private String url;
    @ApiModelProperty(name = "keywords", value = "关键词", required = false)
    private String keywords; //searchText
    @ApiModelProperty(name = "categoryId", value = "种类id", required = false)
    private String categoryId;

    @ApiModelProperty(name = "category", value = "种类名字", required = false)
    private String category;
    @ApiModelProperty(name = "tagId", value = "标签id", required = false)
    private String tagId;
    @ApiModelProperty(name = "tagName", value = "标签名字", required = false)
    private String tagName;
}
